package com.j2eefast.produce.pms.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.j2eefast.common.core.base.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 检验录入列表
 * pms_test_enter_list
 *
 * @author: summer
 * @date 2021-05-29 10:28
 */
@Data
@TableName("pms_test_enter_list")
public class PmsTestEnterListEntity implements Serializable {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    @ExcelIgnore
    private Long id;

    /**
     * 检验名称
     */
    @TableField(value = "test_name")
    @ExcelProperty(value = "检验名称", index = 0)
    private String testName;

    /**
     * 标准名字
     */
    @TableField(value = "enter_name")
    @ExcelProperty(value = "标准名字", index = 1)
    private String enterName;

    /**
     * 标准id
     */
    @TableField(value = "enter_id")
    @ExcelProperty(value = "标准id", index = 2)
    private Long enterId;

    /**
     * 报告备注
     */
    @TableField(value = "report_remark")
    @ExcelProperty(value = "报告备注", index = 3)
    private String reportRemark;

//    /**父类*/
//    @TableField(value = "parent_id")
//    private Long parentId;

    /**
     * 检验编号
     */
    @TableField(value = "test_code")
    @ExcelProperty(value = "检验编号", index = 4)
    private String testCode;
    /**
     * 批量
     */
    @TableField(value = "batch")
    @ExcelProperty(value = "批量", index = 5)
    private String batch;

    /**
     * 执行标准
     */
    @TableField(value = "executive_standard")
    @ExcelProperty(value = "执行标准", index = 6)
    private String executiveStandard;
    /**
     * 种类
     */
    @TableField(value = "type")
    @ExcelProperty(value = "种类", index = 7)
    private String type;
    /**
     * 规格
     */
    @TableField(value = "specs")
    @ExcelProperty(value = "规格", index = 8)
    private String specs;
    /**
     * 直径
     */
    @TableField(value = "level")
    @ExcelProperty(value = "直径", index = 9)
    private String level;
    /**
     * 检验类型
     */
    @TableField(value = "test_type")
    @ExcelProperty(value = "检验类型", index = 10)
    private String testType;
    /**
     * 收费项目
     */
    @TableField(value = "charge_project")
    @ExcelProperty(value = "收费项目", index = 11)
    private String chargeProject;
    /**
     * 取样数量
     */
    @TableField(value = "quantity")
    @ExcelProperty(value = "取样数量", index = 12)
    private String quantity;
    /**
     * 产地
     */
    @TableField(value = "producer")
    @ExcelProperty(value = "产地", index = 13)
    private String producer;

    /**
     * 使用部位
     */
    @TableField(value = "part_used")
    @ExcelProperty(value = "使用部位", index = 14)
    private String partUsed;
    /**
     * 样品描述
     */
    @TableField(value = "sample_description")
    @ExcelProperty(value = "样品描述", index = 15)
    private String sampleDescription;

    /**
     * 说明
     */
    @TableField(value = "explains")
    @ExcelProperty(value = "说明", index = 16)
    private String explains;

    /**
     * 描述1
     */
    @TableField(value = "describes")
    @ExcelProperty(value = "描述1", index = 17)
    private String describes;
    /**
     * 补充
     */
    @TableField(value = "supply")
    @ExcelProperty(value = "补充", index = 18)
    private String supply;

    /**
     * 定价
     */
    @TableField(value = "price")
    @ExcelProperty(value = "定价", index = 19)
    private String price;


    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(value = "update_time")
    @ExcelProperty(value = "更新时间", index = 20)
    private Date updateTime;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(value = "create_time")
    @ExcelProperty(value = "创建时间", index = 21)
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    @ExcelProperty(value = "创建人", index = 22)
    private String createBy;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    @ExcelProperty(value = "更新人", index = 23)
    private String updateBy;

    /**
     * 备注
     */
    @TableField(value = "remark")
    @ExcelProperty(value = "备注", index = 24)
    private String remark;


}
